Extract Query Results
{ extractQueryResult }
Runs a content item and extracts the raw query result data into the specified format (CSV, JSON, XML).
Method
/API2/query/extractQueryResult
- Enterprise Admin
- Domain Admin
- Pro
- Analyst
- Viewer
- Basic
Input Parameters
Name
data
Object Type
Description
The query export object used to specify how to extract nlp query results.
Output Response
Successful Result Code
200
Response Type
string
Description of Response Type
successful operation
Notes
Queries are extracted in flattened tabular format – and do not represent the cartesian of the data. Multiple queries can be extracted into XML or JSON formats only. The CSV option is only available for single queries running from Discovery content.